package com.ruoyi.js.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分数 对象 js_score
 * 
 * @author greejoy
 * @date 2024-10-16
 */
public class JsScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 报名ID */
    @Excel(name = "报名ID")
    private Long registerId;

    /** 比赛分值ID */
    @Excel(name = "比赛分值ID")
    private Long matchValueId;

    /** 裁判ID */
    @Excel(name = "裁判ID")
    private Long judgeId;

    /** 分数 */
    @Excel(name = "分数")
    private Double value;

    public JsScore(){}

    public JsScore(Long registerId, Long matchValueId, Long judgeId){
        this.registerId = registerId;
        this.matchValueId = matchValueId;
        this.judgeId = judgeId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRegisterId(Long registerId) 
    {
        this.registerId = registerId;
    }

    public Long getRegisterId() 
    {
        return registerId;
    }

    public Long getMatchValueId() {
        return matchValueId;
    }

    public void setMatchValueId(Long matchValueId) {
        this.matchValueId = matchValueId;
    }

    public void setJudgeId(Long judgeId)
    {
        this.judgeId = judgeId;
    }

    public Long getJudgeId() 
    {
        return judgeId;
    }
    public void setValue(Double value) 
    {
        this.value = value;
    }

    public Double getValue() 
    {
        return value;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("registerId", getRegisterId())
            .append("judgeId", getJudgeId())
            .append("value", getValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }

    private String matchValueName;
    private String judgeName;

    public String getMatchValueName() {
        return matchValueName;
    }

    public void setMatchValueName(String matchValueName) {
        this.matchValueName = matchValueName;
    }

    public String getJudgeName() {
        return judgeName;
    }

    public void setJudgeName(String judgeName) {
        this.judgeName = judgeName;
    }
}
